package com.hdaccp.foodsales.dao;

import com.hdaccp.foodsales.entity.Groups;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GroupsDao {
    public Groups getRoleByUserId(int userid) ;
    public Groups getRoleByAccount(String account);
    public List<Groups> queryAll();
    public long getTotalCount(@Param("gname") String gname) ;
    public List<Groups> query(@Param("gname") String gname, @Param("limit") int limit, @Param("offset") int offset) ;

}
